<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<div class="freezing-navigation">
	<c:choose>
		<c:when test="${bean.viewMode == '0' }">
			<a class="linkb actived"
				href='<c:out value="${bean.viewModeUrl }"></c:out>'><spring:message  code="mode.view"/></a>
	    |
	    <a class="linkb"
				href='<c:out value="${bean.editModeUrl }"></c:out>'><spring:message  code="mode.view"/></a>
		</c:when>

		<c:when test="${bean.viewMode == '1' }">
			<a class="linkb "
				href='<c:out value="${bean.viewModeUrl }"></c:out>'><spring:message  code="mode.edit"/></a>
	    |
	    <a class="linkb actived"
				href='<c:out value="${bean.editModeUrl }"></c:out>'><spring:message  code="mode.edit"/></a>
		</c:when>
	</c:choose>
</div>